<template>
  <div v-for="(item, index) in navList" :key="index" class="list">
    <nav-list-item :itemContent="item"></nav-list-item>
  </div>
</template>

<script>
import NavListItem from "./NavListItem.vue";
export default {
  props: ["navList"],
  components: {
    NavListItem,
  },
};
</script>

<style lang="less" scoped>
.list {
  margin: 20px 0;
}
</style>
